package com.comdo.newup_loan.module.home;

import com.comdo.newup_loan.base.BaseRxPresenter;
import com.comdo.newup_loan.base.BaseView;
import com.comdo.newup_loan.model.HomeDataBean;
import com.comdo.newup_loan.model.NewUpVersionBean;

/**
 * Created by liyuan on 2017/10/30.
 */

interface HomeContract {
    interface View extends BaseView {
        void showBannerFail(String failMessage);

        void setBanner(HomeDataBean homeData);
        void getVersion(NewUpVersionBean result);

        void getVersionFail(String failMessage);
    }

    abstract class Presenter extends BaseRxPresenter<View> {
        /**
         * 获取Banner轮播图数据
         */
        public abstract void getBannerData();
        public abstract void getVersion(int flag);
    }
}
